#include "toolbar.h"
#include "ui_toolbar.h"

#include <QMessageBox>

ToolBar::ToolBar(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::ToolBar)
{
    ui->setupUi(this);
}

ToolBar::~ToolBar()
{
    delete ui;
}


void ToolBar::on_toolButton_note_toggled(bool checked)
{
    if(checked)
    {
        emit note_button_checked ();
    }
}

void ToolBar::on_toolButton_drop_toggled(bool checked)
{
    if(checked)
    {
        emit dropbox_button_checked ();
    }
}

void ToolBar::on_toolButton_url_toggled(bool checked)
{
    if(checked)
    {
        emit url_button_checked ();
    }
}
